package data;

import gui.MainFrame;
import data.board.Chessboard;

public class Chessozor {
	private Chessboard chessboard;
	private Camp white;
	private Camp black;
	private MainFrame frame;
	
	public Chessozor(Player w, Player b){
		super();
		
		this.chessboard = new Chessboard();
		this.white = new Camp(Color.WHITE, w, chessboard);
		this.black = new Camp(Color.BLACK, b, chessboard);
		this.frame = new MainFrame(this);
	}
	
	public static void main(String[] args) {
		Player p1 = new Player("Laurent", 1850, Type.HUMAN);
		Player p2 = new Player("Chessozor", 1499, Type.COMPUTER);
		
		new Chessozor(p1, p2);
	}

	public Chessboard getChessboard() {
		return chessboard;
	}

}
